Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download files to NERSC on job submission #128

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Download files to NERSC on job submission #128

merged 1 commit into from
Dec 12, 2024

Conversation

MrCreosote
Copy link
Member

@MrCreosote MrCreosote commented Dec 12, 2024

Job submission code kicks off a coroutine that runs a task at NERSC to do the download. This allows the submission code to return to the user as soon as sanity checks are complete and state is saved.

Had to switch the download target from the DTNs to the login node since for some reason $SCRATCH and module aren't available.

Also had to switch the docker compose to host network mode so that the service could access the ssh tunnel to Minio.

Job submission code kicks off a coroutine that runs a task at NERSC to
do the download. This allows the submission code to return to the user
as soon as sanity checks are complete and state is saved.

Had to switch the download target from the DTNs to the login node since
for some reason `$SCRATCH` and `module` aren't available.

Also had to switch the docker compose to host network node so that the
service could access the ssh tunnel to Minio.
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 34.14634% with 27 lines in your changes missing coverage. Please review.

Project coverage is 55.74%. Comparing base (788235e) to head (8edd17b).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
cdmtaskservice/jobflows/nersc_jaws.py 29.41% 12 Missing ⚠️
cdmtaskservice/nersc/manager.py 28.57% 5 Missing ⚠️
cdmtaskservice/callback_url_paths.py 42.85% 4 Missing ⚠️
cdmtaskservice/job_submit.py 50.00% 3 Missing ⚠️
cdmtaskservice/app_state.py 33.33% 2 Missing ⚠️
cdmtaskservice/nersc/remote.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
- Coverage   56.04%   55.74%   -0.31%     
==========================================
  Files          30       31       +1     
  Lines        1777     1810      +33     
==========================================
+ Hits          996     1009      +13     
- Misses        781      801      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MrCreosote MrCreosote merged commit 4cacd35 into main Dec 12, 2024
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants